import request from "@/plugins/axios";
// 字典列表
export function listApi(data) {
  return request({
    url: "/admin/dictionary/index",
    method: "post",
    data,
  });
}
// 字典添加
export function addApi(data) {
  return request({
    url: "/admin/dictionary/create",
    method: "post",
    data,
  });
}
// 字典修改
export function saveApi(data) {
  return request({
    url: "/admin/dictionary/save",
    method: "post",
    data,
  });
}
// 字典删除
export function delApi(data) {
  return request({
    url: "/admin/dictionary/delete",
    method: "post",
    data,
  });
}
